﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

enum PersonAction
{
    Stand,
    Run,
    Walk,
    Sit,
    Jump,
    Sleep,
    Smile,
    Cry,
    Dun,
    Pa,
    Gun
}

enum GameState
{
    Playing,
    Pause,
    GameOver,
    Pass
}

enum Week
{
    Monday = 1,
    Tursday,
    Wedensday,
    Thursday,
    Friday,
    Saturday,
    Sunday
}

namespace 枚举03
{
    class Program
    {
        static void Main(string[] args)
        {
            // 1、创建枚举，表示一个人的各类动作
            // 2、创建枚举，表示游戏的所有状态
            // 3、从键盘输入数字，分别输出周一到周天用来做什么，使用枚举和switch
            Week weekDay = Week.Monday;
            while (true)
            {
                int i = int.Parse(Console.ReadLine());
                weekDay = (Week)i;

                switch (weekDay)
                {
                    case Week.Monday:
                        Console.WriteLine(".");
                        break;
                    case Week.Tursday:
                        Console.WriteLine("..");
                        break;
                    case Week.Wedensday:
                        Console.WriteLine("...");
                        break;
                    case Week.Thursday:
                        Console.WriteLine("....");
                        break;
                    case Week.Friday:
                        Console.WriteLine(".....");
                        break;
                    case Week.Saturday:
                        Console.WriteLine("......");
                        break;
                    case Week.Sunday:
                        Console.WriteLine(".......");
                        break;
                    default:
                        Console.WriteLine("------------------------");
                        break;
                }
            }
            
            // 枚举是一种值类型
            
        }
    }
}
